#ifndef SPECIAL_JUDGE_H
#define SPECIAL_JUDGE_H
#include "mainwindow.h"

class Special_Judge
{
public:
    Special_Judge();

    static bool IsSpecial(bool AIfirst,int board[N][N],int I,int J,vector<qz>& m4,vector<qz>& o4,vector<qz>& m3,vector<qz>& o3);

    static bool myfour(bool AIfirst,int board[N+2][N+2],int I,int J);

    static bool oppfour(bool AIfirst,int board[N+2][N+2],int I,int J);

    static bool mythree(bool AIfirst,int board[N+2][N+2],int I,int J);

    static bool oppthree(bool AIfirst,int board[N+2][N+2],int I,int J,int board0[N][N]);
};

#endif // SPECIAL_JUDGE_H
